<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="examenList.title"/></title>
    <meta name="heading" content="<fmt:message key='examenListExamenPatient.heading'/>"/>
    <meta name="menu" content="ExamenMenu"/>
</head>

<div id="search">
<form method="get" action="${ctx}/listExamensByPatient" id="searchForm">
    <input type="text" size="20" name="query" id="query" value="${param.q}"
           placeholder="Enter search terms..."/>
    <input type="submit" value="<fmt:message key="button.search"/>"/>
</form>
</div>

<display:table name="examens" class="table" requestURI="" id="examenList" export="true" pagesize="25">
    <display:column property="id" sortable="true" href="detailExamen" media="html"
        paramId="id" paramProperty="id" titleKey="examen.id"/>
    <display:column property="id" media="csv excel xml pdf" titleKey="examen.id"/>
    <display:column property="numExamen" sortable="true" titleKey="examen.numExamen"/>
	<display:column property="dateDebutExamen" sortable="true" titleKey="examen.dateDebutExamen"/>
	
    <display:setProperty name="paging.banner.item_name"><fmt:message key="examenList.examen"/></display:setProperty>
    <display:setProperty name="paging.banner.items_name"><fmt:message key="examenList.examens"/></display:setProperty>

    <display:setProperty name="export.excel.filename"><fmt:message key="personList.title"/>.xls</display:setProperty>
    <display:setProperty name="export.csv.filename"><fmt:message key="personList.title"/>.csv</display:setProperty>
    <display:setProperty name="export.pdf.filename"><fmt:message key="personList.title"/>.pdf</display:setProperty>
</display:table>


<script type="text/javascript">
    highlightTableRows("examenList");
</script>